@import "theme";

.hoverCursorPointer {
  &:hover {
    cursor: pointer;
  }
}

.hoverCursorDefault {
  &:hover {
    cursor: default;
  }
}

.overflowEllipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overflowScroll {
  overflow-x: hidden;
  overflow-y: auto;
  margin-right: 4px;

  &::-webkit-scrollbar {
    width: 3px;
    background-color: transparent;
  }

  &::-webkit-scrollbar-thumb {
    background-color: $borderFill;
    border-radius: 4px;
  }

  &::-webkit-scrollbar-track {
    background-color: transparent;
  }
}


// margin and padding style

.marginLeft4px {
  margin-left: 4px;
}

.marginLeft8px {
  margin-left: 8px;
}

.marginLeft16px {
  margin-left: 16px;
}

.marginRight4px {
  margin-right: 4px;
}

.marginTop36px {
  margin-top: 36px;
}

.marginTop32px {
  margin-top: 32px;
}

.marginTop24px {
  margin-top: 24px;
}

.marginTop16px {
  margin-top: 16px;
}

.marginTop12px {
  margin-top: 12px;
}

.marginTop8px {
  margin-top: 8px;
}

.marginTop4px {
  margin-top: 4px;
}
